package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "UserFamily")
public class UserFamily {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = true, length = 50)
    private String rid; // 应聘者简历ID

    @Column(nullable = false, length = 50)
    private String name; // 姓名

    @Column(nullable = true, length = 50)
    private String relationship; // 关系

    @Column(nullable = true, length = 500)
    private String workunit;  // 单位

    @Column(nullable = true, length = 500)
    private String profession;  // 职务

    @Column(nullable = true, length = 50)
    private String contactway;  // 联系方式

    @Column(nullable = true, length = 50)
    private String age;  // 联系方式

    @Column(nullable = true, length = 50)
    private String zzmmname;  // 联系方式
    @Column(nullable = true, length = 50)
    private String zzmmcode;  // 联系方式

    public String getAge() {
        return this.age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Column(nullable = true)
    private Date birthday; // 出生日期

    public String getId() {
        return id;
    }

    public String getRid() {
        return rid;
    }

    public String getName() {
        return name;
    }

    public String getRelationship() {
        return relationship;
    }

    public String getWorkunit() {
        return workunit;
    }

    public String getProfession() {
        return profession;
    }

    public String getContactway() {
        return contactway;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public void setWorkunit(String workunit) {
        this.workunit = workunit;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public void setContactway(String contactway) {
        this.contactway = contactway;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getZzmmname() {
        return this.zzmmname;
    }

    public void setZzmmname(String zzmmname) {
        this.zzmmname = zzmmname;
    }

    public String getZzmmcode() {
        return this.zzmmcode;
    }

    public void setZzmmcode(String zzmmcode) {
        this.zzmmcode = zzmmcode;
    }
}